package com.ffyc.cms.service;

import com.ffyc.cms.dao.WebSiteDao;
import com.ffyc.cms.model.Website;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 这里是主页查询显示网站信息控制层
 */
@Service
@Transactional
public class WebSiteService {
    @Autowired
    WebSiteDao webSiteDao;

    /**
     * 网站信息查询
     * @return
     */
    public Website getWebSite() {
        return webSiteDao.getWebSite();
    }
}
